package com.he.DesignPatterns.builder.demo1;

import lombok.Getter;
import lombok.Setter;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/26 11:18
 */
public abstract class Builder {

    protected Bike bike = new Bike();

    public abstract void buildFrame();
    public abstract void buildSeat();

    //构建自行车
    public abstract Bike creatBike();

//    public Bike construct(){
//        this.buildFrame();
//        this.buildSeat();
//        return this.creatBike();
//    }
}
